package test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2023-01-22
 * Time:19:09
 */
@Controller
public class ControllerTest1 {
    private RepositoryTest1 test1;
    @Autowired
    public ControllerTest1(RepositoryTest1 repositoryTest1){
        test1=repositoryTest1;
    }
    public User user(int x){
        return test1.user(x);
    }
}
